package com.javasm.entity.MisMannageEntity;

import lombok.*;

import java.util.Date;

@AllArgsConstructor
@NoArgsConstructor
@Setter
@Getter
@ToString
public class BackUser {
    Integer uid;
    String userName;
    String passWord;
    Date regTime;
    Date loginTime;
    String status;
    Integer createUid;
    String createUname;//查询时展示创建人名称
    String menuId;
    String remark;
    String headImg;
    String usermenu;
    Integer roleId;
    public BackUser(Integer uid, String userName, Date loginTime, String status, String headImg) {
        this.uid = uid;
        this.userName = userName;
        this.loginTime = loginTime;
        this.status = status;
        this.headImg = headImg;
    }

    public BackUser(Integer uid, String userName, String status, String headImg, Integer roleId) {
        this.uid = uid;
        this.userName = userName;
        this.status = status;
        this.headImg = headImg;
        this.roleId = roleId;
    }

    public BackUser(Integer uid, String userName, String status, String headImg) {
        this.uid = uid;
        this.userName = userName;
        this.status = status;
        this.headImg = headImg;
    }

    public BackUser(Integer uid, String uname) {
    }

    public BackUser(String usermenu) {
        this.usermenu = usermenu;
    }
}
